package com.group.service;

import java.util.List;
import java.util.Map;

import javax.servlet.http.HttpServletRequest;

import com.group.pojo.TbUser;

/**
 * 用户service层
 * @author caoyanan
 * @time 2017年10月10日下午2:58:21
 */
public interface UserService {

	Map<String, String> login(HttpServletRequest request, TbUser user);

	TbUser getLoginUser(HttpServletRequest request) throws Exception;

	String getUserNameById(String id);

	String userCheckRepect(TbUser user);

	Map<String, String> save(HttpServletRequest request, TbUser user);

	Map<String, String> update(TbUser user, HttpServletRequest request);

	List<TbUser> query(TbUser user);

	Map<String, String> batchDelete(String[] userIds, HttpServletRequest request);

	Map<String, String> batchRemoveForbidden(String[] userIds, HttpServletRequest request);



}
